package common.store.admin.service.impl;

import common.store.admin.dao.OrderDao;
import common.store.admin.service.AdminOrderService;
import common.store.admin.vo.QueryVo;
import common.store.web.bean.Order;

import java.util.List;

public class AdminOrderServiceImpl implements AdminOrderService {

    private OrderDao orderDao;

    public AdminOrderServiceImpl() {
        orderDao = new OrderDao();
    }


    @Override
    public List<Order> getOrderList() {
        return orderDao.getOrderList();
    }

    @Override
    public List<Order>getOrderByOid(String oid) {
        return orderDao.getOrderByOid(oid);
    }

    @Override
    public Integer DelOrderByOid(String oid) {
        return orderDao.DelOrderByOid(oid);
    }
}
